home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’92 / HyperInitMaker... / Heizer Working Models / MasterScript WM.sea / MasterScript™.Demo ƒ / Scripts ƒ / Launch < prev    next >
Text File  |  1992-04-06  |  1KB  |  43 lines

  1. --  File Name:        Launch
  2. --  Written By:        Peter B. Nagel
  3. --  Date Created:    November 8, 1991 1:45:48 PM
  4.  
  5. --  Description:    MasterScript’s default start up script.
  6. --                                MasterScript executes this script after
  7. --                                loading all of its modules and creating
  8. --                                all of its menus and other data structures,
  9. --                                and so the contents of this script can be
  10. --                                used to override MasterScript's default
  11. --                                behavior.
  12.  
  13. --  Change History:
  14.  
  15. --    ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
  16.  
  17. --> TURN OFF MESSAGES MONITORING
  18.  
  19. -- put the MsgsMonitoring of window "Messages Monitor" into MS1Global
  20. -- set the MsgsMonitoring of window "Messages Monitor" to FALSE
  21.  
  22. -- get rid of the "L" command key equivalent for HyperCard's menu
  23. -- so that the "Find Selection" popup menu item works
  24.  
  25. -- set the cmdChar of menuitem "Next Window" of menu Go to ""
  26.  
  27. --> CALL ANOTHER SCRIPT TO RECONFIGURE MASTERSCRIPT'S MENUS
  28.  
  29. -- MasterScript SetUpMenus
  30.  
  31. --> ADD A MENU COMMAND TO EXECUTE AN EXTERNAL TOOL
  32.  
  33. -- put "-" after menu Wind
  34. -- put "List Resources" after menu Wind
  35. -- set the menumsg of menuitem "List Resources" of menu Wind to "MasterScript" && quote & "ResStrip -l" & quote
  36.  
  37. --> CALL ANOTHER SCRIPT TO CONFIGURE MASTERSCRIPT’S MODULES
  38.  
  39. -- MasterScript Configure
  40.  
  41. --> RESTORE THE MESSAGES MONITORING STATE
  42.  
  43. -- set the MsgsMonitoring of window "Messages Monitor" to MS1Global